// 通用方法
/**
 * 获取scss中定义的变量
 * @param styleName 变量名称 默认为系统颜色变量 --el-color-primary
 */
export const getStyleVariable = (styleName: String = "--el-color-primary") => {
	const bodyStyles = window.getComputedStyle(document.body);
	let appTypeCustom = bodyStyles.getPropertyValue(styleName as string);
	return appTypeCustom;
};
